package com.qt.service.oj.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qt.mapper.LanguageMapper;
import com.qt.pojo.entity.problem.Language;
import com.qt.service.LanguageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author pgw
 * @version 1.0
 * @description
 * @date Create by 2023/9/24 20:44
 */
@Service
public class LanguageServiceImpl  extends ServiceImpl<LanguageMapper , Language> implements LanguageService {

    @Autowired
   private  LanguageMapper languageMapper;

    @Override
    public List<String> getLanguageNames() {
      return   languageMapper.getLanguageNames();

    }
}
